@import '~ant-design-vue/dist/antd.less';

@primary-color: rgba(0, 75, 141, 100%);
@brand-color: rgba(0, 39, 86, 100%);
@warning-color: rgba(255, 138, 0, 100%);
@error-color: rgba(204, 2, 2, 100%);
@success-color: rgba(23, 184, 19, 100%);

.ant-menu {
  background-color: transparent;
  .ant-menu-item, .ant-menu-submenu-title {
    // padding-left: 20px!important;
    &:hover {
      background: var(--enfi-primary-color-1);
    }
  }
  .ant-menu-item-selected {
    background-color: var(--enfi-primary-color)!important;
    color: #fff;
  }
}

.ant-menu-submenu > .ant-menu {
  background-color: rgb(232, 240, 248)!important;
  .ant-menu-item {
    span {
      padding-left: 20px;
      position: relative;
    }
  }
  .ant-menu-item-selected {
    background-color: rgba(177, 203, 228, 0.368)!important;
    font-weight: bold;
    color: var(--enfi-primary-color);
    &::after {
      transform: scaleY(.5)!important;
    }
    span {
      &::before {
        content: '';
        position: absolute;
        left: 0;
        top: 6px;
        width: 8px;
        height: 8px;
        background-color: var(--enfi-primary-color);
        border-radius: 4px;
      }
    }
  }

}
.ant-modal{
  // padding: 0px ;
  // border: 2px solid #759bab ;

}
.ant-modal-header{
  border-radius: 8px;
  // background-image: url("~@/assets/imgs/model.jpg");
}
.ant-modal-title{
  // color: #fff !important;
  height: 18px !important;
}
.ant-modal-content {
  border-radius: 8px;
}

.ant-table-thead > tr > th {
  border-top:1px solid rgb(230, 230, 230);

}
.ant-pagination-item-active{
  background-color:  #004b8d;
  a{
      color: #fff !important;
  }
  
}
// .ant-pagination-item:hover{
//   border-color:  #004b8d;;
//   background-color:  #5291c9ab;
//   a{ 
//       color:  #004b8d;
//   } 
// }
//面包屑位置
.ant-page-header {
  padding: 14px 24px !important;
}
//侧边栏阴影
.ant-layout-sider-children{
  box-shadow: rgba(60, 60, 60, 0.1) 0px 0px 3px;
}
//table悬浮颜色
.ant-table-tbody > tr:hover:not(.ant-table-expanded-row) > td,.ant-table-row-hover,.ant-table-row-hover>td{
  background-color:  #fafafa  !important;
}
//table表头
.ant-table-thead > tr >th{
  // color: #909399  !important;    
  background: #fafafa  !important;
}
.ant-table-header-column {
  font-weight: bolder;
}
//更改选择条数后的边框颜色

.ant-btn {
  border-radius: 4px;
}
.ant-input {
  border-radius: 4px;
}
.ant-select-selection {
  border-radius: 4px;
}
.ant-checkbox {
  border-radius: 4px;
}